#include "Player.h"
USING_NS_CC;

bool Player::init()
{
	
	return true;
}

Player::Player(int x, int y)
{
	isMoving = false;
	this->setPosition(x, y);
}


Player* Player::createPlayer(int x, int y)
{
	Player *player = new Player(x, y);
	player->initWithFile("player1.png");
	if (player && player->initWithFile("player1.png"))
	{
		player->autorelease();
		player->setAnchorPoint(Point(0.5, 0));
		return player;

	}
	
	return NULL;

}



Player::Player()
{
}


Player::~Player()
{
}
